document.write("<script language=javascript src='/Baggage/dwr/engine.js'></script>");
document.write("<script language=javascript src='/Baggage/dwr/util.js'></script>");
document.write("<script language=javascript src='/Baggage/dwr/interface/service.js'></script>");
function cal(a, b, c, d, e, f){
	 var res = -1;
	 dwr.engine.setAsync(false);
     
     //调用Java类Test的getString方法，callBackFun为回调函数
     service.ReturnResult(a,b,c,d,e,f,function(data){res = data;});
    
     //重新设置为异步方式
     dwr.engine.setAsync(true);
    
     return res;
};

